package shogi;

import javax.swing.JMenuItem;

public class OptionsProduct {

    private OptionsMenu optionsProduct = new OptionsMenu();
    private JMenuItem help;
    private JMenuItem version;
    private JMenuItem credits;

    public OptionsMenu getOptionsProduct() {
        return optionsProduct;
    }

    public void setOptionsProduct(OptionsMenu optionsProduct) {
        this.optionsProduct = optionsProduct;
    }

    public JMenuItem getHelp() {
        return help;
    }

    public void setHelp(JMenuItem help) {
        this.help = help;
    }

    public JMenuItem getVersion() {
        return version;
    }

    public void setVersion(JMenuItem version) {
        this.version = version;
    }

    public JMenuItem getCredits() {
        return credits;
    }

    public void setCredits(JMenuItem credits) {
        this.credits = credits;
    }

    public void setResource() {
        help = new JMenuItem("help");
        version = new JMenuItem("Version");
        credits = new JMenuItem("Credits");
        optionsProduct.getResource().add(help);
        optionsProduct.getResource().add(version);
        optionsProduct.getResource().add(credits);
    }
}